<script lang="ts" setup>
  import Alert from '@sscd/alert';
</script>

<template>
  <div class="demo">
    <div class="demo-title">四种样式</div>
    <div class="demo-content">
      <Alert message="Success Text" type="success" />
      <Alert class="mt12" message="Info Text" type="info" />
      <Alert class="mt12" message="Warning Text" type="warning" />
      <Alert class="mt12" message="Error Text" type="error" />
    </div>
  </div>
</template>

<style lang="less" scoped>
  .mt12 {
    margin-top: 12px;
  }
</style>
